package com.jiliang.member.service;

import com.jiliang.member.dto.MemberIndexVo;
import com.jiliang.member.dto.MemberInfoDTO;
import com.jiliang.member.entity.MemberInfo;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface MemberInfoService {
    int addMemberInfo(MemberInfoDTO dto);

    int updateMemberInfo(MemberInfoDTO dto);

    int deleteMemberInfo(String id);

    List<MemberInfo> selectMemberInfoList(MemberInfoDTO dto);

    PageInfo selectMemberInfoListByPage(MemberInfoDTO dto);

    int freezeMemberInfo(MemberInfoDTO dto);

    MemberInfo selectMemberInfoById(String id);
    MemberIndexVo selMemberIndexById(String id);
    //查询该公司该部门拥有此操作系统的数量
    int selectCountByParams(Integer menuId, String cName, String dName);

    List<Map> selectDeptByCompany(MemberInfo memberInfo);
}
